package com.ruoyi.driver.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 司机收入对象 dv_earn
 * 
 * @author ruoyi
 * @date 2024-07-03
 */
public class DvEarn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 司机收入ID */
    private Long id;

    /** 司机收入金额 */
    @Excel(name = "司机收入金额")
    private String earnAmount;

    /** 司机收入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "司机收入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date earnTime;

    /** 司机收入详情 */
    @Excel(name = "司机收入详情")
    private String earDetails;

    /** 司机表 */
    @Excel(name = "司机表")
    private Long earDid;

    /** 订单表 */
    @Excel(name = "订单表")
    private Long earOid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEarnAmount(String earnAmount) 
    {
        this.earnAmount = earnAmount;
    }

    public String getEarnAmount() 
    {
        return earnAmount;
    }
    public void setEarnTime(Date earnTime) 
    {
        this.earnTime = earnTime;
    }

    public Date getEarnTime() 
    {
        return earnTime;
    }
    public void setEarDetails(String earDetails) 
    {
        this.earDetails = earDetails;
    }

    public String getEarDetails() 
    {
        return earDetails;
    }
    public void setEarDid(Long earDid) 
    {
        this.earDid = earDid;
    }

    public Long getEarDid() 
    {
        return earDid;
    }
    public void setEarOid(Long earOid) 
    {
        this.earOid = earOid;
    }

    public Long getEarOid() 
    {
        return earOid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("earnAmount", getEarnAmount())
            .append("earnTime", getEarnTime())
            .append("earDetails", getEarDetails())
            .append("earDid", getEarDid())
            .append("earOid", getEarOid())
            .toString();
    }
}
